<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <title>{cscms:title}</title>
    <meta name="Keywords" content="{cscms:keywords}" />
    <meta name="Description" content="{cscms:description}" />
    <link rel="shortcut icon" href="{cscms:path}favicon.ico" />
    <link rel="stylesheet" href="{cscms:webpath}packs/font/font.css">
    <link rel="stylesheet" type="text/css" href="{cscms:tempurl}css/user.css"/>
    <script type="text/javascript" src="{cscms:tempurl}js/user.js"></script>
    <script type="text/javascript" src="{cscms:tempurl}js/jquery.emot.js"></script>
</head>
<body>
    {cscms:head}
    {cscms:right}
    <div class="layui-collapse" lay-accordion>
        <div class="layui-colla-item">
            <h2 class="layui-colla-title">发布说说</h2>
            <div class="layui-colla-content layui-show" style="height: 120px;padding: 10px">
                <div class="user_info">
                    <div class="doing">
                        <div id="note" contenteditable="true" class="blogInput" name="note" style="display: block;"></div>
                    </div>
                    <div id="act" class="act" style="display: block;">
                        <div id="emot_note" class="emot" to="note"></div>
                        <!--表情-->
                        <div class="button">
                            <button op="all" class="layui-btn layui-btn-mini layui-btn-warm send" onclick="user.blog_send()">发布</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-tab layui-tab-card" lay-filter="dt1" style="box-shadow: none;">
        <ul class="layui-tab-title" style="height: 41px">
            <li class="layui-this" lay-id="qu">全站动态</li>
            <li>我的动态</li>
            <li>好友动态</li>
        </ul>
        <div class="layui-tab-content" style="padding:0px">
            <div class="layui-tab-item layui-show">
                <div class="layui-tab layui-tab-brief" lay-filter="dt2" style="margin-top: 0px">
                    <ul class="layui-tab-title">
                        <li class="layui-this" id="dt0_0" lay-id="qu0" dir="all">全部</li>
                        <li id="dt0_100" dir="blog">说说</li>
                        {cscms:model table="plugins" field="dir,name" loop="10" order="asc"}
                            <li id="dt0_[model:i]" dir="[model:dir]"><a href="javascript:;">[model:name]</a></li>
                        {/cscms:model}
                    </ul>
                    <div class="layui-tab-content" style="min-height: 100px;">
                        <ul id="dt-list0">
                        {cscms:dt table="dt" field="*" loop="30" sort="addtime" order="desc"}
                            <li class="dt-one">
                                <a target="_blank" class="dt-img" href="[dt:url ulink=index]"><img src="[dt:user zd=logo]?size=60*60"></a>
                                <div class="dt-neir">
                                    <div class="dt-title"><a target="_blank" href="[dt:url ulink=index]">[dt:user zd=nichen]</a>[dt:title]</div>
                                    <div class="dt-nl">
                                        [dt:name]&nbsp;&nbsp;<a href="[dt:link]" class="colorn" target="_blank">
                                        {if:'[dt:dir]'=='dance'}试听{end if}
                                        {if:'[dt:dir]'=='vod'}观看{end if}
                                        {if:'[dt:dir]'=='news'}阅读{end if}
                                        {if:'[dt:dir]'=='pic' || '[dt:dir]'=='singer' || '[dt:dir]'=='blog'}查看{end if}
                                        </a>
                                    </div>
                                    <div class="dt-time">[dt:addtime style=time]</div>
                                </div>
                            </li>
                        {/cscms:dt}
                        </ul>
                    </div>
                </div>
            </div>
            <div class="layui-tab-item">
                <div class="layui-tab layui-tab-brief" lay-filter="dt2" style="margin-top: 0px">
                    <ul class="layui-tab-title">
                        <li lay-id="qu1" class="layui-this" id="dt1_0" dir="all">全部</li>
                        <li id="dt1_100" dir="blog">说说</li>
                        {cscms:model table="plugins" field="dir,name" loop="10" order="asc"}
                            <li id="dt1_[model:i]" dir="[model:dir]"><a href="javascript:;">[model:name]</a></li>
                        {/cscms:model}
                    </ul>
                    <div class="layui-tab-content" style="min-height: 100px;">
                        <ul id="dt-list1">
                        </ul>
                    </div>
                </div>
            </div>
            <div class="layui-tab-item">
                <div class="layui-tab layui-tab-brief" lay-filter="dt2" style="margin-top: 0px">
                    <ul class="layui-tab-title">
                        <li lay-id="qu2" class="layui-this" id="dt2_0" dir="all">全部</li>
                        <li id="dt2_100" dir="blog">说说</li>
                        {cscms:model table="plugins" field="dir,name" loop="10" order="asc"}
                            <li id="dt2_[model:i]" dir="[model:dir]"><a href="javascript:;">[model:name]</a></li>
                        {/cscms:model}
                    </ul>
                    <div class="layui-tab-content" style="min-height: 100px;">
                        <ul id="dt-list2">
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    {cscms:bottom}
</body>
<script type="text/javascript">
    var send_num=0;
    $(document).ready(function() {
       user.blog(); 
    });
</script>
</html>